package com.hl.sfzy.mapper;

import com.hl.sfzy.entity.Consultants;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author lin
* @description 针对表【consultants(咨询师表)】的数据库操作Mapper
* @createDate 2025-03-07 19:58:38
* @Entity com.hl.sfzy.entity.Consultants
*/
@Mapper
public interface ConsultantsMapper {

    int deleteById(Long id);

    int insert(Consultants record);

    int insertSelective(Consultants record);

    Consultants selectById(Long id);

    int updateByIdSelective(Consultants record);

    int updateById(Consultants record);

    List<Consultants> selectAll();

    List<Consultants> selectBySelective(Consultants record);
    //根据咨询师等级查询
    List<Consultants> selectByLevel(String level);

}
